<script>
export default {
  onLaunch: function () {
    let token = uni.getStorageSync('satoken')
if(token){
	 uni.switchTab({
    url: '/pages/index/index'
   })
}
    uni.showShareMenu({
				withShareTicket: true
			});
    console.log('App Launch')
  },
  onShow: function () {
    console.log('App Show')
  },
  onHide: function () {
    console.log('App Hide')
  },
}
</script>

<style>
@import './style/style.scss';
/*每个页面公共css */
</style>
